import { getAction, deleteAction, putAction, postAction, httpAction, postFormData } from '@/api/manage'
const gateway = '/api/gateway/jic-backend-activity'

const baseUrl = window._CONFIG['domianURL'] || '/jeecg-boot'

export const materialBuyerShowList = (params) => getAction(gateway + '/operate/material/buyerShow/list', params) // 买家秀同步记录
export const posterConfigList = (params) => postAction(gateway + `/backend/activity/poster/config/list`, params) // 海报配置列表
export const posterConfigEdit = (params) => postAction(gateway + `/backend/activity/poster/config/edit`, params) // 海报详编辑
export const posterConfigDetail = (params) => postAction(gateway + `/backend/activity/poster/config/detail`, params) // 海报详情
export const storeList = () => getAction(gateway + `/backend/activity/store/list/for/select`) // 门店列表
export const configEdit = (params) => postAction(gateway + `/backend/activity/config/edit`, params) // 上下架
export const storePackageImport = baseUrl + gateway + `/backend/activity/store/package/import` // 导导入门店包
